package com.tuanzi.loan.business.service.businesssystem;

import com.tuanzi.loan.business.entity.businesssystem.BusinessBill;
import com.tuanzi.loan.business.entity.businesssystem.BusinessIncome;
import com.tuanzi.loan.business.entity.businesssystem.BusinessMain;
import com.tuanzi.loan.business.entity.businesssystem.BusinessPrepay;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.businesssystem.BusinessMainRequest;
import com.tuanzi.loan.vo.response.businesssystem.BusinessMainResponse;
import org.springframework.data.domain.Page;

import java.util.List;


public interface BusinessMainService extends BaseAuditService<BusinessMain,Long> {
    Page<BusinessMainResponse> list(PageSearcher<BusinessMainRequest> pageSearcher);

    public List<BusinessMain> getCompanyList();

    void billDelete(BusinessBill billAmount);

    void prepayDelete(BusinessPrepay one);

    void incomeDelete(BusinessIncome one);
}
